#ifndef ALEXMS_CLIENT_MAPLECSINVENTORY_H
#define ALEXMS_CLIENT_MAPLECSINVENTORY_H

#include <map>
class Player;
class MapleCSInventoryItem;

using namespace std;

class MapleCSInventory
{
public:
	MapleCSInventory(Player player);
	void LoadFromDB(int id);
	void SaveToDB();
	map<int,MapleCSInventoryItem> getCSGifts();
	map<int,MapleCSInventoryItem> getCSItems();
	void AddItem(MapleCSInventoryItem citem);
	void RemoveItem(int uniqueid);
	MapleCSInventoryItem GetItem(int uniqueid);
	static int GetNextUniqueID();
	static int GetNextUniqueID(int wxtra);

private:
	int accountid;
	int characterid;
	Player *player;
	map<int,MapleCSInventoryItem> csitems;
	map<int,MapleCSInventoryItem> csgifts;
};



#endif